gdksurface-win32.c: Call gdk_surface_set_egl_native_window()
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 23 Nov 2021 08:19:34 +0000 (16:19 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 3 Dec 2021 02:39:59 +0000 (10:39 +0800)
commitbdf879427cdf83e55c0645bb480fa342b0b2603f
tree65e61bfb8864ca56e779273bdf2c965fb1ef31ab
parentbe949496acb9941974ba823e945a2fe299383816
gdksurface-win32.c: Call gdk_surface_set_egl_native_window()

.. when creating the surface (with the HWND associated with the
newly-created surface) as well as destroying the surface (with NULL,
since the HWND is going to be destroyed), so that we can tie the EGL
calls to the HWND that we want to do the EGL stuff.
gdk/win32/gdksurface-win32.c